#ifndef IDCARD_HELPER_H
#define IDCARD_HELPER_H

#include <QString>

class IdCardHelper {
public:
    struct IdCardEntity {
        QString idCardNo;
        bool isValid;
        QString notValidReason;
    };

    static IdCardEntity isValidIdCardNo(QString &idCardNo);
    static bool checkValidDate(int year, int month, int dayOfMonth);
    static char calculateLastChar(QString &idCardNo);

private:

};


#endif // IDCARD_HELPER_H
